<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上传</title>
</head>
<body>

<div style="margin: 10px 0;color: #ff0000">单图上传</div>
<form action="upload" enctype="multipart/form-data" id="PostMe" method="post">
    <div class="inputfile" title="点击上传图片">
        <input type="file" name="img" id="uploadicon" value="upload"/>
    </div>
    <button class="btn btn-info submit1">
        提交
    </button>
</form>

<div style="margin: 10px 0;color: #ff0000">多图上传</div>
<form action="uploads" enctype="multipart/form-data" id="PostMes" method="post">
    <div class="inputfile" title="点击上传图片">
        <input type="file" name="img[]"  value="upload"/>
        <input type="file" name="img[]"  value="upload"/>
        <input type="file" name="img[]"  value="upload"/>
    </div>
    <button class="btn btn-info submit1">
        提交
    </button>
</form>
</body>
</html>